// 导入 FontAwesome 相关模块
import { library } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';

// 导入所有图标
import { fas } from '@fortawesome/free-solid-svg-icons'
import { far } from '@fortawesome/free-regular-svg-icons'
import { fab } from '@fortawesome/free-brands-svg-icons'

// 将图标添加到库中
library.add(fas,far,fab);
// 导出组件和库，方便在main.js中使用
export { FontAwesomeIcon, library }